//
//  Goods_Message_TableViewCell.swift
//  Pods
//
//  Created by eme on 2017/4/1.
//
//

import UIKit
import RickonCore

class Goods_Message_TableViewCell: UITableViewCell {
    
    @IBOutlet weak var goods_ImageView: UIImageView!            //商品图片
    
    @IBOutlet weak var goods_NameLabel: UILabel!                //商品名称
    
    @IBOutlet weak var priceLabel: UILabel!                     //商品价格
    
    @IBOutlet weak var standard_Label: UILabel!                 //商品规格
    
    @IBOutlet weak var Number_Button: UIButton!                 //商品数量(当有售后标记时,显示售后标记)
    
    @IBOutlet weak var number_Label: UILabel!                   //当有售后标记时,显示商品数量
    
    @IBOutlet weak var right_Button: UIButton!                  //右边按钮
    
    @IBOutlet weak var left_Button: UIButton!                   //左边按钮
    
    @IBOutlet weak var pdtypeLable: UILabel!                    //商品类型
    
    @IBOutlet weak var lineWithBtn: NSLayoutConstraint!

    @IBOutlet weak var lineView: UIView!                        //横线
    
    override func awakeFromNib() {
        super.awakeFromNib()
        right_Button.layer.borderColor = UIColor(hex: "FF8785").cgColor
        right_Button.layer.borderWidth = 1
        left_Button.layer.borderColor = UIColor(hex: "FF8785").cgColor
        left_Button.layer.borderWidth = 1
        self.lineView.backgroundColor = Theme.v.separate_Line
        priceLabel.normal_fontSize(13)
        goods_NameLabel.normal_fontSize(13)
        standard_Label.normal_fontSize(13)
        number_Label.normal_fontSize(13)
        Number_Button.titleLabel?.normal_fontSize(13)
        pdtypeLable.normal_fontSize(13)
        left_Button.titleLabel?.normal_fontSize(13)
        right_Button.titleLabel?.normal_fontSize(13)
        
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
